package com.css.fxfzypg.modules.preAssessResult.repository;

import com.css.fxfzypg.modules.preAssessResult.entity.SeiCapDistribution;
import com.css.fxfzypg.modules.preAssessResult.vo.AreaBoundaryVO;
import com.css.fxfzypg.modules.preassesstaskmanage.vo.PreAssessVo;
import com.css.fxfzypg.modules.surveytaskmanage.vo.TaskVo;

import java.util.List;
import java.util.Map;

public interface PreAssessResultRepository {

    Map<String, Object> findParentIdByTask(String s, TaskVo taskVo, int curPage, int pageSize, Boolean flag);

    Map<String, Object> undistributedTaskPage(String s, TaskVo taskVo, int curPage, int pageSize);

    List<PreAssessVo> findSubIdByTask(String id, TaskVo taskVo);

    List<AreaBoundaryVO> getAreaBoundaryVO1(String taskId);
    List<AreaBoundaryVO> getAreaBoundaryVO2(String taskId);

    void saveSeismicCapacity(SeiCapDistribution seiCapDistribution);

    SeiCapDistribution findByTaskIdLimit(String taskId,String type);
    List<SeiCapDistribution> getSeiCapCalculation(String taskId,String dzIntensity,String type);

    void delSeiCapCalByTaskId(String taskId, String type);

    int deleteSeiCapdistribution(String taskId);

    String getExtent(String taskId);

    String getcenter(String taskId);

    int saveScdList(List<SeiCapDistribution> list);

    List<SeiCapDistribution> getDataByTaskId(String taskId,String type);
}
